<script>
import usePosition from "./hooks/usePosition";

export default {
  name: "App",
  setup(props, context) {
    const {position} = usePosition()
    return {
      position
    }
  }
}
</script>
<template>
  <div id="app">
<h1>{{ position.x}}</h1>
    <h1>{{ position.y}}</h1>
  </div>
</template>

<style lang="less"></style>
